package com.mondo.financialwallet.presentation.ui.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mondo.financialwallet.presentation.model.Token;

import java.util.List;

public class CurrencyAddAdapter extends BaseQuickAdapter<Token, BaseViewHolder> {

    public CurrencyAddAdapter(int layoutResId, @Nullable List<Token> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, Token item) {
//        helper.setImageResource(R.id.token_logo_image, item.getImgRes());
//        helper.setText(R.id.name_text_view, item.getTitle());
//        helper.setText(R.id.chinese_name_text_view, item.getSubTitle());
//        Switch sw = helper.getView(R.id.currency_switch);
//        sw.setChecked(item.isAdd());
//        sw.setOnCheckedChangeListener((buttonView, isChecked) -> {
//            getData().get(helper.getAdapterPosition()).setAdd(isChecked);
//        });
    }




}
